import request from '@/utils/request'

// 获取新增攻略
export function add_strategy(data) {
  return request({
    url: "/strategy/get_strategy",
    method: 'post',
    data
  })
}


// 获取攻略列表
export function select_strategy(data) {
  return request({
    url: "/strategy/select_strategy",
    method: 'post',
    data
  })
}

// 查询文章
export function query_article(data) {
  return request({
    url: "/strategy/query_article",
    method: 'post',
    data
  })
}


// 修改文章
export function edit_article(data) {
    return request({
      url: "/strategy/update_strategy",
      method: 'post',
      data
    })
  }
// 删除文章
export function del_article(data) {
    return request({
      url: "/strategy/del_strategy",
      method: 'post',
      data
    })
  }